<!-- xml version="1.0" encoding="utf-8" -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
	<title>Latin Online</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<link href="../flashcard.css" rel="stylesheet" type="text/css">
</head>


<script type="text/javascript">
var sentences = [
  [ ['Cum', 'instructae', 'acies', 'constitissent,', 'priusquam', 'signa', 'canerent,'],
    ['when', 'arranged', 'lines of battle', 'had established', 'before', 'signals', 'had sounded'],
    ['<span class="verbum">cum</span> <span class="vtype">conj.</span> <span class="def">since, when</span>',
     '<span class="verbum">īnstruō, īnstruere, īnstrūxī, īnstrūctus</span> <span class="vtype">v.</span> <span class="def">draw up, arrange, equip</span>',
     '<span class="verbum">aciēs, aciēī</span> <span class="vtype">f.</span> <span class="def">line of battle</span>',
     '<span class="verbum">cōnstituō, cōnstituere, cōnstituī, cōnstitūtum</span> <span class="vtype">v.</span> <span class="def">establish, erect, set up, fix, decide</span>',
     '<span class="verbum">priusquam</span> <span class="vtype">adv.</span> <span class="def">before</span>',
     '<span class="verbum">signum, signī</span> <span class="vtype">n.</span> <span class="def">sign</span>',
     '<span class="verbum">canō, canere, cecinī, cantum</span> <span class="vtype">v.</span> <span class="def">sing</span>'] ],
  [ ['processisse', 'Latinum', 'inter', 'primores', 'ducemque', 'advenarum', 'evocasse', 'ad', 'conloquium.'],
    ['advanced', 'Latinus', 'among', '(his) chieftains', 'and the leader', 'of the strangers', 'summoned', 'to', 'a conference'],
    ['<span class="verbum">prōcēdō, prōcedere, prōcessī, prōcessum</span> <span class="vtype">v.</span> <span class="def">advance</span>',
     '<span class="verbum">Latīnus, Latīnī</span> <span class="vtype">m.</span> <span class="def">Latinus</span>',
     '<span class="verbum">inter</span> <span class="vtype">prep. +acc.</span> <span class="def">between, among</span>',
     '<span class="verbum">prīmōris, prīmōris, prīmōre</span> <span class="vtype">adj.</span> <span class="def">first, foremost</span>',
     '<span class="verbum">dux, ducis</span> <span class="vtype">m.</span> <span class="def">leader</span>',
     '<span class="verbum">advena, advenae</span> <span class="vtype">m. & f.</span> <span class="def">stranger, foreigner</span>',
     '<span class="verbum">ēvocō, ēvocāre, ēvocāvī, ēvocātum</span> <span class="vtype">v.</span> <span class="def">call out, summon</span>',
     '<span class="verbum">ad</span> <span class="vtype">prep. +acc.</span> <span class="def">to, towards</span>',
     '<span class="verbum">conloquium/colloquium, conloquī</span> <span class="vtype">n.</span> <span class="def">conversation, parley</span>'] ],
  [ ['Percunctatum', 'deinde', 'qui', 'mortales', 'essent,'],
    ['he inquired', 'then', 'what', 'men', 'they might be'],
    ['<span class="verbum">percūnctor/percontor, percūnctārī, percūnctātus sum</span> <span class="vtype">dep.</span> <span class="def">inquire (about), ask</span>',
     '<span class="verbum">deinde/dein</span> <span class="vtype">adv.</span> <span class="def">afterward, then</span>',
     '<span class="verbum">quis, quis, quid</span> <span class="vtype">pron.</span> <span class="def">who, what</span>',
     '<span class="verbum">mortālis, mortālis, mortāle</span> <span class="vtype">adj.</span> <span class="def">mortal</span>',
     '<span class="verbum">sum, esse, fuī</span> <span class="vtype">v.</span> <span class="def">be</span>'] ],
  [ ['unde', 'aut', 'quo', 'casu', 'profecti', 'domo', 'quidve', 'quaerentes', 'in', 'agrum', 'Laurentinum', 'exissent.'],
    ['from which place', 'or at least', 'by which', 'chance', 'had set out', 'from home', 'or what', 'seeking', 'in', 'into the lands', 'of Laurentum', 'they had gone out to'],
    ['<span class="verbum">unde</span> <span class="vtype">adv.</span> <span class="def">from whence</span>',
     '<span class="verbum">aut</span> <span class="vtype">conj.</span> <span class="def">or</span>',
     '<span class="verbum">quō</span> <span class="vtype">adv.</span> <span class="def">what</span>',
     '<span class="verbum">cāsus, cāsūs</span> <span class="vtype">m.</span> <span class="def">fall, misfortune, chance</span>',
     '<span class="verbum">proficīscor, proficīscī, profectus sum</span> <span class="vtype">dep.</span> <span class="def">set out</span>',
     '<span class="verbum">domus, domī</span> <span class="vtype">f.</span> <span class="def">house</span>',
     '<span class="verbum">quis, quis, quid</span> <span class="vtype">pron.</span> <span class="def">who, what</span><br /><span class="verbum">-ve</span> <span class="vtype">conj.</span> <span class="def">or</span>',
     '<span class="verbum">quaerō, quaerere, quaesīvī, quaesītum</span> <span class="vtype">v.</span> <span class="def">look for, search</span>',
     '<span class="verbum">in</span> <span class="vtype">prep. +abl.</span> <span class="def">in, on</span>',
     '<span class="verbum">ager, agrī</span> <span class="vtype">m.</span> <span class="def">land</span>',
     '<span class="verbum">Laurentinus, Laurentina, Laurentinum</span> <span class="vtype">adj.</span> <span class="def">Laurentinus</span>',
     '<span class="verbum">exeō, exīre, exiī, exitum</span> <span class="vtype">v.</span> <span class="def">go out, leave</span>'] ],
  [ ['Postquam', 'audierit', 'multitudinem', 'Troianos', 'esse,', 'ducem', 'Aeneam', 'filium', 'Anchisae', 'et', 'Veneris,'],
    ['after', 'he heard', 'people', 'Trojans', 'were', 'leader', 'Aeneas', 'son', 'of Anchises', 'and', 'of Venus'],
    ['<span class="verbum">postquam</span> <span class="vtype">conj.</span> <span class="def">after</span>',
     '<span class="verbum">audiō, audīre, audīvī, audītum</span> <span class="vtype">v.</span> <span class="def">hear</span>',
     '<span class="verbum">multitūdō, multitūdinis</span> <span class="vtype">f.</span> <span class="def">multitude</span>',
     '<span class="verbum">Trōiānus, Trōiāna, Trōiānum</span> <span class="vtype">adj.</span> <span class="def">Trojan</span>',
     '<span class="verbum">sum, esse, fuī</span> <span class="vtype">v.</span> <span class="def">be</span>',
     '<span class="verbum">dux, ducis</span> <span class="vtype">m.</span> <span class="def">leader</span>',
     '<span class="verbum">Aenēās, Aenēae</span> <span class="vtype">m.</span> <span class="def">Aeneas</span>',
     '<span class="verbum">fīlius, fīliī</span> <span class="vtype">m.</span> <span class="def">son</span>',
     '<span class="verbum">Anchīsēs, Anchīsae</span> <span class="vtype">m.</span> <span class="def">Anchises</span>',
     '<span class="verbum">et</span> <span class="vtype">conj.</span> <span class="def">and</span>',
     '<span class="verbum">Venus, Veneris</span> <span class="vtype">f.</span> <span class="def">Venus</span>'] ],
  [ ['cremata', 'patria', 'domo', 'profugos', 'sedem', 'condendaeque', 'urbi', 'locum', 'quaerere.'],
    ['from having been burnt', 'fatherland', 'home', 'fugitives', 'dwelling place', 'and for founding', 'city', 'place', 'to seek'],
    ['<span class="verbum">cremō, cremāre, cremāvī, cremātum</span> <span class="vtype">v.</span> <span class="def">burn</span>',
     '<span class="verbum">patria, patriae</span> <span class="vtype">f.</span> <span class="def">fatherland</span>',
     '<span class="verbum">domus, domī</span> <span class="vtype">f.</span> <span class="def">house</span>',
     '<span class="verbum">profugus, profuga, profugum</span> <span class="vtype">adj.</span> <span class="def">fugitive</span>',
     '<span class="verbum">sēdēs, sēdis</span> <span class="vtype">f.</span> <span class="def">seat, habitation</span>',
     '<span class="verbum">condō, condere, condidī, conditum</span> <span class="vtype">v.</span> <span class="def">found</span>',
     '<span class="verbum">urbs, urbis</span> <span class="vtype">f.</span> <span class="def">city</span>',
     '<span class="verbum">locus, locī</span> <span class="vtype">m.</span> <span class="def">place</span>',
     '<span class="verbum">quaerō, quaerere, quaesīvī, quaesītum</span> <span class="vtype">v.</span> <span class="def">look for, search</span>'] ],
  [ ['Et', 'nobilitatem', 'admiratum', 'gentis', 'virique', 'et', 'animum', 'vel', 'bello', 'vel', 'paci', 'paratum,'],
    ['and', 'renown', 'admiring', 'of the race', 'and of the man', 'as well as', 'spirit', 'either', 'for war', 'or', 'for peace', 'prepared'],
    ['<span class="verbum">et</span> <span class="vtype">conj.</span> <span class="def">and</span>',
     '<span class="verbum">nōbilitās, nōbilitātis</span> <span class="vtype">f.</span> <span class="def">renown</span>',
     '<span class="verbum">admīror, admirārī, admirātus sum</span> <span class="vtype">dep.</span> <span class="def">admire</span>',
     '<span class="verbum">gēns, gentis</span> <span class="vtype">f.</span> <span class="def">race, clan</span>',
     '<span class="verbum">vir, virī</span> <span class="vtype">f.</span> <span class="def">man</span>',
     '<span class="verbum">et</span> <span class="vtype">conj.</span> <span class="def">and</span>',
     '<span class="verbum">animus, animī</span> <span class="vtype">m.</span> <span class="def">soul, mind</span>',
     '<span class="verbum">vel</span> <span class="vtype">conj.</span> <span class="def">either - or</span>',
     '<span class="verbum">bellum, bellī</span> <span class="vtype">n.</span> <span class="def">war</span>',
     '<span class="verbum">vel</span> <span class="vtype">conj.</span> <span class="def">either - or</span>',
     '<span class="verbum">pāx, pācis</span> <span class="vtype">f.</span> <span class="def">peace</span>',
     '<span class="verbum">parō, parāre, parāvī, parātum</span> <span class="vtype">v.</span> <span class="def">prepare, obtain</span>'] ],
  [ ['dextra', 'data', 'fidem', 'futurae', 'amicitiae', 'sanxisse.'],
    ['right hand', 'having been given', 'pledge', '(of) future', 'of friendship', 'he enacted'],
    ['<span class="verbum">dextra, dextrae</span> <span class="vtype">f.</span> <span class="def">right hand</span>',
     '<span class="verbum">dō, dare, dedī, datum</span> <span class="vtype">v.</span> <span class="def">give</span>',
     '<span class="verbum">fidēs, fidēī</span> <span class="vtype">f.</span> <span class="def">faith, pledge</span>',
     '<span class="verbum">sum, esse, fuī, futūrus</span> <span class="vtype">v.</span> <span class="def">be</span>',
     '<span class="verbum">amīcitia, amīcitiae</span> <span class="vtype">f.</span> <span class="def">friendship</span>',
     '<span class="verbum">sanciō, sancīre, sānxī, sānctum</span> <span class="vtype">v.</span> <span class="def">enact</span>'] ],
  [ ['Inde', 'foedus', 'ictum', 'inter', 'duces', 'inter', 'exercitus', 'salutationem', 'factam.'],
    ['then', 'a treaty', 'was made', 'between', 'the leaders', 'between', 'the armies', 'saluting', 'was carried out'],
    ['<span class="verbum">inde</span> <span class="vtype">adv.</span> <span class="def">from that</span>',
     '<span class="verbum">foedus, foederis</span> <span class="vtype">n.</span> <span class="def">treaty</span>',
     '<span class="verbum">(īcō), īcere, īcī, ictum</span> <span class="vtype">v.</span> <span class="def">strike with est understood</span>',
     '<span class="verbum">inter</span> <span class="vtype">prep. +acc.</span> <span class="def">between, among</span>',
     '<span class="verbum">dux, ducis</span> <span class="vtype">m.</span> <span class="def">leader</span>',
     '<span class="verbum">inter</span> <span class="vtype">prep. +acc.</span> <span class="def">between, among</span>',
     '<span class="verbum">exercitus, excercitūs</span> <span class="vtype">m.</span> <span class="def">army</span>',
     '<span class="verbum">salūtātiō, salūtātiōnis</span> <span class="vtype">f.</span> <span class="def">saluting</span>',
     '<span class="verbum">faciō, facere, fēcī, factum</span> <span class="vtype">v.</span> <span class="def">do, make</span>'] ],
  [ ['Aeneam', 'apud', 'Latinum', 'fuisse', 'in', 'hospitio.'],
    ['Aeneas', 'at (Latinus’) house', 'Latinus', 'was', 'in', 'hospitality'],
    ['<span class="verbum">Aenēās, Aenēae</span> <span class="vtype">m.</span> <span class="def">Aeneas</span>',
     '<span class="verbum">apud</span> <span class="vtype">prep. +acc.</span> <span class="def">among, with</span>',
     '<span class="verbum">Latīnus, Latīnī</span> <span class="vtype">m.</span> <span class="def">Latinus</span>',
     '<span class="verbum">sum, esse, fuī</span> <span class="vtype">v.</span> <span class="def">be</span>',
     '<span class="verbum">in</span> <span class="vtype">prep. +abl.</span> <span class="def">in, on</span>',
     '<span class="verbum">hospitium, hospitiī</span> <span class="vtype">n.</span> <span class="def">hospitality</span>'] ],
  [ ['Ibi', 'Latinum', 'apud', 'penates', 'deos', 'domesticum', 'publico', 'adiunxisse', 'foedus', 'filia', 'Aeneae', 'in', 'matrimonium', 'data.'],
    ['thereupon', 'Latinus', 'in the presence of', 'household gods', 'gods', 'domestic', 'in public', 'added', 'treaty', '(his) daughter', 'to Aeneas', 'in', 'marriage', 'having given'],
    ['<span class="verbum">ibi</span> <span class="vtype">adv.</span> <span class="def">there, then</span>',
     '<span class="verbum">Latīnus, Latīnī</span> <span class="vtype">m.</span> <span class="def">Latinus</span>',
     '<span class="verbum">apud</span> <span class="vtype">prep. +acc.</span> <span class="def">among, with</span>',
     '<span class="verbum">Penātēs, Penātium</span> <span class="vtype">pl. m.</span> <span class="def">household gods</span>',
     '<span class="verbum">deus, deī</span> <span class="vtype">m.</span> <span class="def">god</span>',
     '<span class="verbum">domesticus, domestica, domesticum</span> <span class="vtype">adj.</span> <span class="def">domestic</span>',
     '<span class="verbum">pūblicus, pūblica, pūblicum</span> <span class="vtype">adj.</span> <span class="def">public</span>',
     '<span class="verbum">adiungō, adiungere, adiūnxī, adiūnctum</span> <span class="vtype">v.</span> <span class="def">add</span>',
     '<span class="verbum">foedus, foederis</span> <span class="vtype">n.</span> <span class="def">treaty</span>',
     '<span class="verbum">fīlia, fīliae</span> <span class="vtype">f.</span> <span class="def">daughter</span>',
     '<span class="verbum">Aenēās, Aenēae</span> <span class="vtype">m.</span> <span class="def">Aeneas</span>',
     '<span class="verbum">in</span> <span class="vtype">prep. +abl.</span> <span class="def">in, on</span>',
     '<span class="verbum">mātrimōnium, mātrimōnī</span> <span class="vtype">n.</span> <span class="def">marriage</span>',
     '<span class="verbum">dō, dare, dedī, dātum</span> <span class="vtype">v.</span> <span class="def">give</span>'] ],
  [ ['Ea', 'res', 'utique', 'Troianis', 'spem', 'adfirmat', 'tandem', 'stabili', 'certaque', 'sede', 'finiendi', 'erroris.'],
    ['this', 'event', 'definitely', 'for the Trojans', 'hope', 'confirmed', 'finally', 'with (a) stable', 'and secure', 'home', 'of ending', '(their) wandering'],
    ['<span class="verbum">is, ea, id</span> <span class="vtype">pron.</span> <span class="def">him, her, this</span>',
     '<span class="verbum">rēs, reī</span> <span class="vtype">f.</span> <span class="def">thing, matter</span>',
     '<span class="verbum">utique</span> <span class="vtype">adv.</span> <span class="def">certainly</span>',
     '<span class="verbum">Trōiānus, Trōiāna, Trōiānum</span> <span class="vtype">adj.</span> <span class="def">Trojan</span>',
     '<span class="verbum">spēs, speī</span> <span class="vtype">f.</span> <span class="def">hope</span>',
     '<span class="verbum">adfīrmō, adfīrmāre, adfīrmāvī, adfīrmātum</span> <span class="vtype">v.</span> <span class="def">confirm</span>',
     '<span class="verbum">tandem</span> <span class="vtype">adv.</span> <span class="def">finally</span>',
     '<span class="verbum">stabilis, stabilis, stabile</span> <span class="vtype">adj.</span> <span class="def">stable</span>',
     '<span class="verbum">certus, certa, certum</span> <span class="vtype">adj.</span> <span class="def">certain</span>',
     '<span class="verbum">sēdēs, sēdis</span> <span class="vtype">f.</span> <span class="def">seat, habitation</span>',
     '<span class="verbum">fīniō, fīnīre, fīnīvī, fīnītum</span> <span class="vtype">v.</span> <span class="def">finish, end</span>',
     '<span class="verbum">error, errōris</span> <span class="vtype">m.</span> <span class="def">wandering</span>'] ],
  [ ['Oppidum', 'condunt.'],
    ['a city', 'they founded'],
    ['<span class="verbum">oppidum, oppidī</span> <span class="vtype">n.</span> <span class="def">city</span>',
     '<span class="verbum">condō, condere, condidī, conditum</span> <span class="vtype">v.</span> <span class="def">found</span>'] ]
];

var i = 0;
var j = 0;

var shown = 0;

function updateVoc() {
	
	var sentence = "";
	
	for(n = 0; n < sentences[i][0].length; n++) {
		if (n == j) {
			sentence += ' <span class="curword">' + sentences[i][0][n] + "</span>";
		} else {
			sentence += " " + sentences[i][0][n];
		}
	}
	
	document.getElementById('v3').innerHTML = sentence;
	
	if (shown == 0) {
		document.getElementById('v1').innerHTML = "";
		document.getElementById('v2').innerHTML = "";
	} else if (shown == 1) {
		document.getElementById('v1').innerHTML = sentences[i][1][j];
		document.getElementById('v2').innerHTML = "";
	} else if (shown == 2) {
		document.getElementById('v1').innerHTML = sentences[i][1][j];
		document.getElementById('v2').innerHTML = sentences[i][2][j];
	}
}

function next() {
	shown++;
	if (shown > 2) {
		shown = 0;
		j++;
		if (j >= sentences[i][0].length) {
			j = 0;
			i++;
			if (i >= sentences.length) {
				i = 0;
				alert('All done!');
			}
		}
	}
	updateVoc();
}

function prev() {
	shown--;
	if (shown < 0) {
		shown = 2;
		j--;
		
		if (j < 0) {
			i--;
			if (i < 0) {
				i = sentences.length - 1;
				alert('All done!');
			}
			j = sentences[i][0].length - 1;
		}
	}
	
	updateVoc();
}


function nextt() {
	shown = 0;
	j = 0;
	i++;
	if (i >= sentences.length) {
		i = 0;
		alert('All done!');
	}

	updateVoc();
}

function prevv() {
	shown = 0;
	j = 0;
	i--;
	if (i < 0) {
		i = sentences.length - 1;
		alert('All done!');
	}
	j = sentences[i][0].length - 1;
	
	updateVoc();
}

</script>

<body onload="updateVoc()">
<h1 style="text-align:center; color: #60B0C0;">Livy’s History of Rome, Book I.1.7-11</h1>

<div class="center">
<div id="v3" class="v3"></div>
<div id="v1" class="v1"></div>
<div id="v2" class="v2"></div>

<a href="#" class="button" id="btnprevv" onclick="prevv()">&lt;&lt;</a>
<a href="#" class="button" id="btnprev" onclick="prev()" accesskey="p">&lt;</a>
<a href="#" class="button" id="btnnext" onclick="next()" accesskey="n">&gt;</a>
<a href="#" class="button" id="btnnextt" onclick="nextt()">&gt;&gt;</a>


</div>
</body>
</html>
